<template>
  <div id="good-list">
    <good-list-item v-for="(m,index) in goods" :key="index" :goods-item="m"></good-list-item>
  </div>
</template>

<script>
import GoodListItem from "content/goods/GoodListItem";

export default {
  name: "GoodList",
  components: { GoodListItem },
  props: {
    goods: {
      type: Array,
      default() {
        return [];
      }
    }
  },
  data() {
    return {};
  }
};
</script>

<style scoped>
#good-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 5px;
}
</style>
